home *** CD-ROM | disk | FTP | other *** search
- D.DOC, 02/03/87
-
- D.COM is a program to help you organize your hard disk, or diskette.
-
- It does so by telling you what files have been added, or erased, from
- a "list" of files, which D.COM maintains in D.DAT.
-
- The following is an EXACT copy of what shows up on your screen if you
- type D H - which is documented as how to get HELP:
-
- ----------------
-
- D.COM as of 02/01/87; Type D H for HELP
-
- D.COM by Ward Christensen - Helps keep your Directories clean. Detailed help:
- D SET sets all filenames on disk into D.DAT
- and writes it back to the current directory.
- D shows added/erased files since D SET was done
- D ADD fn.ft adds ("registers") a file(s) into D.DAT
- D DEL fn.ft deletes ("unregisters") file(s) from D.DAT
- D CU Cleans Up by asking, for each file, if you want to:
- (E)rase from disk
- (A)dd ("register") into D.DAT
- (D)elete ("un-register") from D.DAT
- D fn.ft 6-up directory list (e.g. D *.* or D *.ASM)
- (avoid fn of SET, ADD, DEL, CU)
-
- Typical usage: What When/why
- D SET ONCE: per directory - it writes D.DAT
- to that dir
- D any time: to see whats new or erased
- D CU periodically: to "Clean Up" your directory
-
- ----------------
-
- NOTE, that if, for some reason, you want to use D.COM the way I "originally
- wrote it", namely having the list of files (now in D.DAT) kept right IN
- D.COM, and having D.COM write itself back, you can PATCH the object module,
- I believe the address is 1a1, to a zero. There is documentation in the
- COM file that says:
- set this <> 0 to use data files:_
- and where the _ is, is currently an 01h, which you can patch to 00h
- to have D update itself.
-
- NOTE further that the "buggy" version of D.COM uploaded to Compuserve in
- about mid-January '87, has been resolved - by changing the technique used
- to write D.COM back: I do a handle open, and write it in one long write,
- which circumvents the still unknown problem of writing back by doing an
- FCB open, changing DMA, and writing 128 byte chunks. It also there
- runs faster.
-
- THE FUTURE: I COULD make D.com much more than it is - for example, when
- doing the CU (cleanup) option, it would be nice to "shell" to things
- like Vern Buerg's LIST program (browse), or to just type the file,
- or to debug it, etc - so you can better decide what you want to do with
- the file.
-
- The VERY BEST use of D.com is to run it when you install a new package.
- For example, suppose you install DBASE in a subdirectory DBASE, and
- that you want to do all your programming etc in that subdirectory.
-
- Just place D.COM anywhere on your execution path, CD to DBASE, then type:
- d set
- which will create d.dat in the dbase directory. Subsequently typing: D
- will show you what files have been added (or erased) - and by doing
- D now and then, then D CU when you want to 'register' files, you will
- readily be able to keep your directories unclutterd from unwanted
- files that otherwise might be 'lost' in the full directory listing.
-
- ----------------
-
- Ward Christensen 76703,302
-
- P.S. I place this program in the public domain with NO RESTRICTIONS.
- Of course, I would be disappointed to see it being distributed for
- profit.
-